Home
last modified time | relevance | path

Searched refs:Employee (Results 1 – 25 of 37) sorted by relevance

12

/external/gson/gson/src/test/java/com/google/gson/functional/
DTypeHierarchyAdapterTest.java41 andy.minions = new Employee[] { in testTypeHierarchy()
42 new Employee("inder", 2007), in testTypeHierarchy()
43 new Employee("joel", 2006), in testTypeHierarchy()
44 new Employee("jesse", 2006), in testTypeHierarchy()
50 eric.assistant = new Employee("jerome", 2006); in testTypeHierarchy()
52 eric.minions = new Employee[] { in testTypeHierarchy()
53 new Employee("larry", 1998), in testTypeHierarchy()
54 new Employee("sergey", 1998), in testTypeHierarchy()
59 .registerTypeHierarchyAdapter(Employee.class, new EmployeeAdapter()) in testTypeHierarchy()
121 .registerTypeHierarchyAdapter(Employee.class, new EmployeeAdapter()) in testRegisterSuperTypeFirst()
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/failing/
DTestObjectIdDeserialization.java10 import com.fasterxml.jackson.databind.objectid.TestObjectId.Employee;
23 public Employee[] employees;
27 public ArrayBlockingQueue<Employee> employees;
31 public EnumMap<FooEnum,Employee> employees;
41 static class DefensiveEmployee extends Employee {
45 this.reports = new ArrayList<Employee>(reports); in setReports()
67 Employee firstEmployee = company.employees[0]; in testForwardReferenceInArray()
68 Employee secondEmployee = company.employees[1]; in testForwardReferenceInArray()
82 Employee firstEmployee = company.employees.take(); in testForwardReferenceInQueue()
83 Employee secondEmployee = company.employees.take(); in testForwardReferenceInQueue()
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/objectid/
DReferentialWithObjectIdTest.java13 public AtomicReference<Employee> first;
17 public static class Employee { class in ReferentialWithObjectIdTest
20 public AtomicReference<Employee> next;
22 public Employee next(Employee n) { in next()
23 next = new AtomicReference<Employee>(n); in next()
38 Employee first = new Employee(); in testAtomicWithObjectId()
42 Employee second = new Employee(); in testAtomicWithObjectId()
50 input.first = new AtomicReference<Employee>(first); in testAtomicWithObjectId()
57 Employee firstB = result.first.get(); in testAtomicWithObjectId()
60 Employee secondB = firstB.next.get(); in testAtomicWithObjectId()
DTestObjectId.java56 public List<Employee> employees;
58 public void add(Employee e) { in add()
60 employees = new ArrayList<Employee>(); in add()
68 public static class Employee { class in TestObjectId
74 public Employee manager;
77 public List<Employee> reports;
79 public Employee() { } in Employee() method in TestObjectId.Employee
80 public Employee(int id, String name, Employee manager) { in Employee() method in TestObjectId.Employee
84 reports = new ArrayList<Employee>(); in Employee()
87 public Employee addReport(Employee e) { in addReport()
[all …]
DTestObjectIdDeserialization.java23 import com.fasterxml.jackson.databind.objectid.TestObjectId.Employee;
125 public Map<Integer, Employee> employees;
270 Employee firstEmployee = company.employees.get(0); in testForwardReference()
271 Employee secondEmployee = company.employees.get(1); in testForwardReference()
287 Employee firstEmployee = company.employees.get(0); in testForwardReferenceInCollection()
288 Employee secondEmployee = company.employees.get(1); in testForwardReferenceInCollection()
302 Employee firstEmployee = company.employees.get(1); in testForwardReferenceInMap()
303 Employee secondEmployee = company.employees.get(3); in testForwardReferenceInMap()
307 private void assertEmployees(Employee firstEmployee, Employee secondEmployee) in assertEmployees()
338 assertEquals(Employee.class, firstUnresolvedId.getType()); in testUnresolvedForwardReference()
[all …]
/external/truth/core/src/test/java/com/google/common/truth/extension/
DFakeHrDatabase.java22 import com.google.common.truth.extension.Employee.Location;
28 private final Map<Long, Employee> employees = new HashMap<>();
30 public void put(Employee employee) { in put()
35 public Employee get(long id) { in get()
42 Employee old = get(id); in relocate()
44 employees.put(id, Employee.create(old.username(), old.id(), old.name(), location, old.isCeo())); in relocate()
48 public ImmutableSet<Employee> getByLocation(Location location) { in getByLocation()
50 ImmutableSet.Builder<Employee> result = ImmutableSet.builder(); in getByLocation()
51 for (Employee employee : employees.values()) { in getByLocation()
DEmployeeSubject.java33 public static EmployeeSubject assertThat(@Nullable Employee employee) { in assertThat()
38 public static Subject.Factory<EmployeeSubject, Employee> employees() { in employees()
43 private static final Subject.Factory<EmployeeSubject, Employee> EMPLOYEE_SUBJECT_FACTORY =
46 private final Employee actual;
48 private EmployeeSubject(FailureMetadata failureMetadata, @Nullable Employee subject) { in EmployeeSubject()
67 public void hasLocation(Employee.Location location) { in hasLocation()
DFakeHrDatabaseTest.java21 import com.google.common.truth.extension.Employee.Location;
31 private static final Employee KURT =
32 Employee.create("kak", 37802, "Kurt Alfred Kluever", Location.NYC, false);
34 private static final Employee SUNDAR =
35 Employee.create("sundar", 5243, "Sundar Pichai", Location.MTV, true);
47 Employee movedKurt = db.get(KURT.id()); in relocatePresent()
DEmployeeSubjectTest.java25 import com.google.common.truth.extension.Employee.Location;
35 private static final Employee KURT =
36 Employee.create("kak", 37802, "Kurt Alfred Kluever", Location.NYC, false);
61 SimpleSubjectBuilderCallback<EmployeeSubject, Employee> callback) { in expectFailure()
DHrDatabase.java19 import com.google.common.truth.extension.Employee.Location;
30 Employee get(long id); in get()
34 ImmutableSet<Employee> getByLocation(Location location); in getByLocation()
DEmployee.java22 public abstract class Employee { class
23 public static Employee create( in create()
/external/jazzer-api/agent/src/test/java/com/code_intelligence/jazzer/autofuzz/
DBuilderPatternTest.java23 class Employee { class
35 Employee hero = (Employee) o; in equals()
45 private Employee(Builder builder) { in Employee() method in Employee
73 public Employee build() { in build()
74 return new Employee(this); in build()
82 consumeTestCase(new Employee.Builder("foo", "bar").withAge(20).withJobTitle("baz").build(), in testBuilderPattern()
/external/gson/extras/src/test/java/com/google/gson/graph/
DGraphAdapterBuilderTest.java132 new Employee("Jesse", google); in testSerializationWithMultipleTypes()
133 new Employee("Joel", google); in testSerializationWithMultipleTypes()
138 .addType(Employee.class) in testSerializationWithMultipleTypes()
153 .addType(Employee.class) in testDeserializationWithMultipleTypes()
162 Employee jesse = company.employees.get(0); in testDeserializationWithMultipleTypes()
165 Employee joel = company.employees.get(1); in testDeserializationWithMultipleTypes()
178 static class Employee { class in GraphAdapterBuilderTest
181 Employee(String name, Company company) { in Employee() method in GraphAdapterBuilderTest.Employee
190 final List<Employee> employees = new ArrayList<>();
/external/libchrome/mojo/public/interfaces/bindings/tests/
Dversioning_test_client.mojom16 struct Employee {
23 AddEmployee(Employee employee) => (bool success);
26 => (Employee? employee, [MinVersion=1] array<uint8>? finger_print);
Dversioning_test_service.mojom22 struct Employee {
30 AddEmployee(Employee employee) => (bool success);
33 => (Employee? employee, [MinVersion=1] array<uint8>? finger_print);
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/
DTestAbstractTypeNames.java21 public interface Employee extends User { interface in TestAbstractTypeNames
27 @JsonSubTypes({ @JsonSubTypes.Type(value=Employee.class,name="Employee") })
34 static class DefaultEmployee extends DefaultUser implements Employee
/external/libchrome/mojo/public/cpp/bindings/tests/
Dversioning_apptest.cc39 EmployeePtr employee(Employee::New()); in TEST_F()
53 EmployeePtr new_employee(Employee::New()); in TEST_F()
Dversioning_test_service.cc41 info->employee = Employee::New(); in HumanResourceDatabaseImpl()
/external/dokka/test/
Dplayground.kt45 data class Employee(val name: ClassWithConstructor, val age: Int) {} class
/external/rust/crates/libz-sys/src/zlib/qnx/
Dpackage.qpg20 <QPG:Employee></QPG:Employee>
/external/libchrome/mojo/public/tools/bindings/
DREADME.md296 struct Employee {
324 struct Employee {
529 struct Employee {
538 struct Employee {
570 struct Employee {
604 AddEmployee(Employee employee) => (bool success);
605 QueryEmployee(uint64 id) => (Employee? employee);
610 AddEmployee(Employee employee) => (bool success);
613 => (Employee? employee,
/external/pdfium/testing/resources/javascript/xfa_specific/
Dbug_980116.in34 <text>Employee</text>
/external/catch2/docs/
Dtest-fixtures.md25 TEST_CASE_METHOD(UniqueTestsFixture, "Create Employee/No Name", "[create]") {
28 TEST_CASE_METHOD(UniqueTestsFixture, "Create Employee/Normal", "[create]") {
/external/python/cpython3/Lib/test/
Dtest_typing.py60 class Employee: class
64 class Manager(Employee):
68 class Founder(Employee):
84 issubclass(Employee, Any)
86 issubclass(Any, Employee)
126 issubclass(Employee, NoReturn)
128 issubclass(NoReturn, Employee)
237 TypeVar('X', str, float, bound=Employee)
300 t = Union[Employee]
301 self.assertIs(t, Employee)
[all …]
/external/libchrome/mojo/public/cpp/bindings/
DREADME.md555 struct Employee {
568 class Employee;
570 using EmployeePtr = mojo::StructPtr<Employee>;
572 class Employee {
576 Employee();
580 Employee(int64_t id, const std::string& username, Department department);
586 bool Equals(const Employee& other);
609 mojom::EmployeePtr e1 = mojom::Employee::New();
618 auto e1 = mojom::Employee::New(42, "mojo", mojom::Department::kEngineering);
625 AddEmployee(Employee e);
[all …]

12