/external/compiler-rt/lib/tsan/tests/unit/ |
tsan_sync_test.cc | 33 SyncVar *golden[kRange] = {}; local 40 EXPECT_TRUE(golden[addr] == 0 || golden[addr] == v); 42 golden[addr] = v; 47 EXPECT_EQ(golden[addr], v); 50 golden[addr] = 0; 56 if (golden[addr] == 0) 59 EXPECT_EQ(v, golden[addr]);
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/serialization/ |
ConfirmationCallbackTest.java | 44 public void assertDeserialized(Serializable golden, Serializable test) { 45 assertEquals(((ConfirmationCallback) golden).getDefaultOption(), 47 assertEquals(((ConfirmationCallback) golden).getPrompt(), 49 assertEquals(((ConfirmationCallback) golden).getMessageType(), 51 assertEquals(((ConfirmationCallback) golden).getOptionType(),
|
ChoiceCallbackTest.java | 47 public void assertDeserialized(Serializable golden, Serializable test) { 48 assertTrue(golden instanceof ChoiceCallback); 49 assertEquals(((ChoiceCallback) golden).getPrompt(), 51 assertEquals(((ChoiceCallback) golden).getDefaultChoice(),
|
NameCallbackTest.java | 44 public void assertDeserialized(Serializable golden, Serializable test) { 46 assertEquals(((NameCallback) golden).getDefaultName(), 48 assertEquals(((NameCallback) golden).getName(), ((NameCallback) test) 50 assertEquals(((NameCallback) golden).getPrompt(), ((NameCallback) test)
|
TextInputCallbackTest.java | 44 public void assertDeserialized(Serializable golden, Serializable test) { 46 assertEquals(((TextInputCallback) golden).getDefaultText(), 48 assertEquals(((TextInputCallback) golden).getPrompt(), 50 assertEquals(((TextInputCallback) golden).getText(),
|
PasswordCallbackTest.java | 46 public void assertDeserialized(Serializable golden, Serializable test) { 48 assertEquals(((PasswordCallback) golden).getPrompt(), 51 assertEquals(new String(((PasswordCallback) golden)
|
TextOutputCallbackTest.java | 44 public void assertDeserialized(Serializable golden, Serializable test) { 46 assertEquals(((TextOutputCallback) golden).getMessage(), 48 assertEquals(((TextOutputCallback) golden).getMessageType(),
|
LanguageCallbackTest.java | 44 public void assertDeserialized(Serializable golden, Serializable test) { 46 assertEquals(((LanguageCallback) golden).getLocale(),
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/ |
GuardedObjectTest.java | 46 public void assertDeserialized(Serializable golden, Serializable test) { 47 assertSame(golden.getClass(), test.getClass()); 48 assertEquals(((GuardedObject) golden).getObject(),
|
/external/chromium_org/tools/gyp/test/variables/filelist/ |
update_golden | 8 cp -f src/filelist.gypd filelist.gypd.golden
|
/build/tools/ |
check_builds.sh | 55 rm -rf $TEST_BUILD_DIR/golden-* $TEST_BUILD_DIR/dist-* 56 do_builds golden "$@" 64 inputs="$inputs $TEST_BUILD_DIR/golden-$1/installed-files.txt" 83 diff $TEST_BUILD_DIR/golden-$1/installed-files.txt $TEST_BUILD_DIR/dist-$1/installed-files.txt &> /dev/null 86 diff $TEST_BUILD_DIR/golden-$1/installed-files.txt $TEST_BUILD_DIR/dist-$1/installed-files.txt
|
/external/chromium_org/tools/gyp/test/variables/commands/ |
update_golden | 9 cp -f commands.gypd commands.gypd.golden 11 cp -f commands-repeated.gypd commands-repeated.gypd.golden
|
/libcore/luni/src/test/java/libcore/util/ |
SerializationTester.java | 30 private final String golden; field in class:SerializationTester 33 public SerializationTester(T value, String golden) { 34 this.golden = golden; 55 if (golden == null || golden.length() == 0) { 56 fail("No golden value supplied! Consider using this: " 61 T deserialized = (T) deserialize(hexDecode(golden)); 62 assertTrue("User-constructed value doesn't equal deserialized golden value",
|
/external/chromium_org/tools/gyp/tools/emacs/ |
gyp-tests.el | 15 "List of golden samples to check") 24 (defun read-golden-sample (filename) 45 (ert-deftest test-golden-samples () 46 "Check that fontification produces the same results as the golden samples" 48 (let ((golden (read-golden-sample sample)) 50 (should (equal golden fontified)) 51 (should (equal (text-face-properties golden) 54 (defun create-golden-sample (filename) 55 "Create a golden sample by fontifying filename and writing out the printabl [all...] |
/external/chromium_org/courgette/ |
encoded_program_unittest.cc | 60 static const uint8 golden[] = { local 65 EXPECT_EQ(0, memcmp(assembled_buffer, golden, 8));
|
/external/chromium/testing/gmock/test/ |
gmock_output_test.py | 50 # The flag for generating the golden file 160 golden = golden_file.read() 163 # The normalized output should match the golden file. 164 self.assertEquals(golden, output)
|
/external/protobuf/gtest/test/ |
gtest_output_test.py | 49 # The flag for generating the golden file 257 # sequences when we read the golden file irrespective of an operating 260 golden = ToUnixLineEnding(golden_file.read()) 266 self.assert_(golden == output) 269 normalized_golden = RemoveTestCounts(self.RemoveUnsupportedTests(golden)) 294 """Unable to write a golden file when compiled in an environment 301 message += """\nand typed tests). Please generate the golden file
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
RRuleTest.java | 66 String golden) throws Exception { 67 runRecurrenceIteratorTest(rruleText, dtStart, limit, golden, null, null, UTC); 71 String golden, String advanceTo, String tz) throws Exception { 72 runRecurrenceIteratorTest(rrule, dtstartStr, limit, golden, advanceTo, null, tz); 82 * @param golden The desired results 89 String golden, String advanceTo, String endAt, String tz) throws Exception { 140 assertEquals(golden, sb.toString()); [all...] |
/external/protobuf/src/google/protobuf/io/ |
zero_copy_stream_unittest.cc | 404 string golden; local 407 &golden); 410 string gzip_compressed = Compress(golden, options); 413 string not_compressed = Compress(golden, options); 418 string zlib_compressed = Compress(golden, options); 422 EXPECT_GT(not_compressed.size(), golden.size()); 431 EXPECT_TRUE(Uncompress(not_compressed) == golden); 432 EXPECT_TRUE(Uncompress(gzip_compressed) == golden); 433 EXPECT_TRUE(Uncompress(zlib_compressed) == golden); 684 // To test LimitingInputStream, we write our golden text to a buffer, the [all...] |
/external/chromium/testing/gtest/test/ |
gtest_output_test.py | 49 # The flag for generating the golden file 283 # sequences when we read the golden file irrespective of an operating 286 golden = ToUnixLineEnding(golden_file.read()) 294 normalized_golden = RemoveTypeInfoDetails(golden) 304 # This code is very handy when debugging golden file differences: 327 """Unable to write a golden file when compiled in an environment 329 and multiple threads). Please generate the golden file using a binary built
|
/external/chromium_org/testing/gtest/test/ |
gtest_output_test.py | 49 # The flag for generating the golden file 283 # sequences when we read the golden file irrespective of an operating 286 golden = ToUnixLineEnding(golden_file.read()) 294 normalized_golden = RemoveTypeInfoDetails(golden) 304 # This code is very handy when debugging golden file differences: 327 """Unable to write a golden file when compiled in an environment 329 and multiple threads). Please generate the golden file using a binary built
|
/external/gtest/test/ |
gtest_output_test.py | 49 # The flag for generating the golden file 283 # sequences when we read the golden file irrespective of an operating 286 golden = ToUnixLineEnding(golden_file.read()) 294 normalized_golden = RemoveTypeInfoDetails(golden) 304 # This code is very handy when debugging golden file differences: 327 """Unable to write a golden file when compiled in an environment 329 and multiple threads). Please generate the golden file using a binary built
|
/ndk/sources/third_party/googletest/googletest/test/ |
gtest_output_test.py | 49 # The flag for generating the golden file 283 # sequences when we read the golden file irrespective of an operating 286 golden = ToUnixLineEnding(golden_file.read()) 294 normalized_golden = RemoveTypeInfoDetails(golden) 304 # This code is very handy when debugging golden file differences: 327 """Unable to write a golden file when compiled in an environment 329 and multiple threads). Please generate the golden file using a binary built
|
/external/chromium/chrome/browser/net/ |
url_fixer_upper_unittest.cc | 320 GURL golden(net::FilePathToFileURL(original)); 329 EXPECT_EQ(golden, fixedup); 337 EXPECT_EQ(golden, URLFixerUpper::FixupURL(cur, std::string()));
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/ |
zero_copy_stream_unittest.cc | 562 string golden; local 565 &golden); 568 string gzip_compressed = Compress(golden, options); 571 string not_compressed = Compress(golden, options); 576 string zlib_compressed = Compress(golden, options); 580 EXPECT_GT(not_compressed.size(), golden.size()); 589 EXPECT_TRUE(Uncompress(not_compressed) == golden); 590 EXPECT_TRUE(Uncompress(gzip_compressed) == golden); 591 EXPECT_TRUE(Uncompress(zlib_compressed) == golden); 907 // To test LimitingInputStream, we write our golden text to a buffer, the [all...] |