Home
last modified time | relevance | path

Searched refs:TEST_ID (Results 1 – 5 of 5) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowBatteryManagerTest.java22 private static final int TEST_ID = 123; field in ShadowBatteryManagerTest
47 assertThat(batteryManager.getIntProperty(TEST_ID)).isEqualTo(Integer.MIN_VALUE); in testGetIntProperty()
49 shadowBatteryManager.setIntProperty(TEST_ID, 5); in testGetIntProperty()
50 assertThat(batteryManager.getIntProperty(TEST_ID)).isEqualTo(5); in testGetIntProperty()
52 shadowBatteryManager.setIntProperty(TEST_ID, 0); in testGetIntProperty()
53 assertThat(batteryManager.getIntProperty(TEST_ID)).isEqualTo(0); in testGetIntProperty()
55 shadowBatteryManager.setIntProperty(TEST_ID, Integer.MAX_VALUE); in testGetIntProperty()
56 assertThat(batteryManager.getIntProperty(TEST_ID)).isEqualTo(Integer.MAX_VALUE); in testGetIntProperty()
61 assertThat(batteryManager.getLongProperty(TEST_ID)).isEqualTo(Long.MIN_VALUE); in testGetLongProperty()
63 shadowBatteryManager.setLongProperty(TEST_ID, 5L); in testGetLongProperty()
[all …]
/external/ltp/testcases/kernel/controllers/memcg/functional/
Dmemcg_lib.sh59 if [ -n "$TEST_ID" -a -d "/dev/memcg/$TEST_ID" ]; then
60 for i in "/dev/memcg/$TEST_ID/"*; do
66 rmdir "/dev/memcg/$TEST_ID"
474 TEST_ID="$1"
491 ROD rmdir "/dev/memcg/$TEST_ID"
492 TEST_ID=""
499 TEST_ID="$1"
521 ROD mkdir "/dev/memcg/$TEST_ID"
522 ROD cd "/dev/memcg/$TEST_ID"
/external/linux-kselftest/tools/testing/selftests/kmod/
Dkmod.sh523 TEST_ID=${i%:*:*}
524 ENABLED=$(get_test_enabled $TEST_ID)
525 TEST_COUNT=$(get_test_count $TEST_ID)
527 test_case $TEST_ID $TEST_COUNT
/external/libchrome/base/metrics/
Dpersistent_memory_allocator_unittest.cc26 const uint32_t TEST_ID = 12345; variable
69 TEST_ID, TEST_NAME, false)); in SetUp()
99 EXPECT_EQ(TEST_ID, allocator_->Id()); in TEST_F()
219 EXPECT_EQ(TEST_ID, allocator2->Id()); in TEST_F()
234 EXPECT_EQ(TEST_ID, allocator3->Id()); in TEST_F()
569 SharedPersistentMemoryAllocator local(std::move(shmem1), TEST_ID, "", in TEST()
595 EXPECT_EQ(TEST_ID, shalloc2.Id()); in TEST()
621 EXPECT_EQ(TEST_ID, shalloc3.Id()); in TEST()
678 LocalPersistentMemoryAllocator local(TEST_MEMORY_SIZE, TEST_ID, ""); in TEST()
703 EXPECT_EQ(TEST_ID, file.Id()); in TEST()
[all …]
/external/linux-kselftest/tools/testing/selftests/sysctl/
Dsysctl.sh681 TEST_ID=${i%:*:*}
682 ENABLED=$(get_test_enabled $TEST_ID)
683 TEST_COUNT=$(get_test_count $TEST_ID)
685 test_case $TEST_ID $TEST_COUNT