
target.apidocs.com.google.api.services.toolresults.model.TestCaseReference.html Maven / Gradle / Ivy
TestCaseReference (Cloud Tool Results API v1beta3-rev20210809-2.0.0)
com.google.api.services.toolresults.model
Class TestCaseReference
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.toolresults.model.TestCaseReference
-
public final class TestCaseReference
extends GenericJson
A reference to a test case. Test case references are canonically ordered lexicographically by
these three factors: * First, by test_suite_name. * Second, by class_name. * Third, by name.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Cloud Tool Results API. For a detailed explanation
see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
TestCaseReference()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
TestCaseReference
clone()
String
getClassName()
The name of the class.
String
getName()
The name of the test case.
String
getTestSuiteName()
The name of the test suite to which this test case belongs.
TestCaseReference
set(String fieldName,
Object value)
TestCaseReference
setClassName(String className)
The name of the class.
TestCaseReference
setName(String name)
The name of the test case.
TestCaseReference
setTestSuiteName(String testSuiteName)
The name of the test suite to which this test case belongs.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getClassName
public String getClassName()
The name of the class.
- Returns:
- value or
null
for none
-
setClassName
public TestCaseReference setClassName(String className)
The name of the class.
- Parameters:
className
- className or null
for none
-
getName
public String getName()
The name of the test case. Required.
- Returns:
- value or
null
for none
-
setName
public TestCaseReference setName(String name)
The name of the test case. Required.
- Parameters:
name
- name or null
for none
-
getTestSuiteName
public String getTestSuiteName()
The name of the test suite to which this test case belongs.
- Returns:
- value or
null
for none
-
setTestSuiteName
public TestCaseReference setTestSuiteName(String testSuiteName)
The name of the test suite to which this test case belongs.
- Parameters:
testSuiteName
- testSuiteName or null
for none
-
set
public TestCaseReference set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public TestCaseReference clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy