|
v8toolkit
0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
|
#include <v8_class_wrapper.h>#include <javascript.h>#include "wrapped_class_base.h"#include "testing.h"
Go to the source code of this file.
Classes | |
| class | CopyableWrappedClass |
| class | WrappedClass |
| class | WrappedClassChild |
| class | WrappedString |
| class | WrappedClassFixture |
Namespaces | |
| v8toolkit | |
Functions | |
| v8toolkit::CAST_TO_NATIVE (WrappedString,{return WrappedString(CastToNative< std::string >()(isolate, value));}) | |
| TEST_F (WrappedClassFixture, Accessors) | |
| TEST_F (WrappedClassFixture, SimpleFunctions) | |
| TEST_F (WrappedClassFixture, CallingWithLvalueWrappedClass) | |
| TEST_F (WrappedClassFixture, CallingWithRvalueWrappedClass) | |
| TEST_F (WrappedClassFixture, CallingWithUniquePtr) | |
| TEST_F (WrappedClassFixture, ReturningUniquePtr) | |
| TEST_F (WrappedClassFixture, FunctionTakesCopyOfWrappedType) | |
| TEST_F (WrappedClassFixture, PreferSpecializedCastToNativeDuringParameterBuilder) | |
| TEST_F (WrappedClassFixture, DefaultParameters) | |
| TEST_F (WrappedClassFixture, DerivedTypesLValue) | |
| TEST_F (WrappedClassFixture, DerivedTypesPointer) | |
| TEST_F (WrappedClassFixture, DerivedTypesRValue) | |
| TEST_F (WrappedClassFixture, DerivedTypesLValueRValueMismatch) | |
| TEST_F (WrappedClassFixture, DerivedTypesUniquePointer) | |
| TEST_F (WrappedClassFixture, DerivedTypesUniquePointerReverseCast) | |
| TEST_F (WrappedClassFixture, CastToJSRValueRef) | |
| TEST_F | ( | WrappedClassFixture | , |
| Accessors | |||
| ) |
Definition at line 162 of file wrapped_types_test.cpp.
| TEST_F | ( | WrappedClassFixture | , |
| SimpleFunctions | |||
| ) |
Definition at line 176 of file wrapped_types_test.cpp.
| TEST_F | ( | WrappedClassFixture | , |
| CallingWithLvalueWrappedClass | |||
| ) |
Definition at line 190 of file wrapped_types_test.cpp.
References EXPECT_TRUE.
| TEST_F | ( | WrappedClassFixture | , |
| CallingWithRvalueWrappedClass | |||
| ) |
Definition at line 212 of file wrapped_types_test.cpp.
References EXPECT_THROW, and EXPECT_TRUE.
| TEST_F | ( | WrappedClassFixture | , |
| CallingWithUniquePtr | |||
| ) |
Definition at line 237 of file wrapped_types_test.cpp.
References EXPECT_FALSE, and EXPECT_THROW.
| TEST_F | ( | WrappedClassFixture | , |
| ReturningUniquePtr | |||
| ) |
Definition at line 270 of file wrapped_types_test.cpp.
| TEST_F | ( | WrappedClassFixture | , |
| FunctionTakesCopyOfWrappedType | |||
| ) |
Definition at line 285 of file wrapped_types_test.cpp.
References EXPECT_TRUE.
| TEST_F | ( | WrappedClassFixture | , |
| PreferSpecializedCastToNativeDuringParameterBuilder | |||
| ) |
Definition at line 308 of file wrapped_types_test.cpp.
References EXPECT_EQ, and WrappedString::string.
| TEST_F | ( | WrappedClassFixture | , |
| DefaultParameters | |||
| ) |
Definition at line 340 of file wrapped_types_test.cpp.
References WrappedClass::default_parameters_called, and EXPECT_TRUE.
| TEST_F | ( | WrappedClassFixture | , |
| DerivedTypesLValue | |||
| ) |
Definition at line 353 of file wrapped_types_test.cpp.
| TEST_F | ( | WrappedClassFixture | , |
| DerivedTypesPointer | |||
| ) |
Definition at line 367 of file wrapped_types_test.cpp.
| TEST_F | ( | WrappedClassFixture | , |
| DerivedTypesRValue | |||
| ) |
Definition at line 379 of file wrapped_types_test.cpp.
References testing::internal::move().

| TEST_F | ( | WrappedClassFixture | , |
| DerivedTypesLValueRValueMismatch | |||
| ) |
Definition at line 392 of file wrapped_types_test.cpp.
References EXPECT_THROW.
| TEST_F | ( | WrappedClassFixture | , |
| DerivedTypesUniquePointer | |||
| ) |
Definition at line 406 of file wrapped_types_test.cpp.
| TEST_F | ( | WrappedClassFixture | , |
| DerivedTypesUniquePointerReverseCast | |||
| ) |
Definition at line 417 of file wrapped_types_test.cpp.
| TEST_F | ( | WrappedClassFixture | , |
| CastToJSRValueRef | |||
| ) |
Definition at line 430 of file wrapped_types_test.cpp.
References EXPECT_TRUE, and testing::internal::move().

1.8.11