Home
last modified time | relevance | path

Searched refs:fromDescription (Results 1 – 8 of 8) sorted by relevance

/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DAnnotationTest.java34 Annotation.fromDescription(null); in fromDescription_NullDescription()
38 public void fromDescription() { in fromDescription() method in AnnotationTest
39 Annotation annotation = Annotation.fromDescription("MyAnnotationText"); in fromDescription()
81 Annotation.fromDescription("MyAnnotationText"), in annotation_EqualsAndHashCode()
87 .addEqualityGroup(Annotation.fromDescription("MyAnnotationText2")); in annotation_EqualsAndHashCode()
93 Annotation annotation = Annotation.fromDescription("MyAnnotationText"); in annotation_ToString()
DBlankSpanTest.java54 BlankSpan.INSTANCE.addAnnotation(Annotation.fromDescription("MyAnnotation")); in doNotCrash()
/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DAnnotation.java45 public static Annotation fromDescription(String description) { in fromDescription() method in Annotation
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/
DRecordEventsSpanImplTest.java104 span.addAnnotation(Annotation.fromDescription(ANNOTATION_DESCRIPTION)); in noEventsRecordedAfterEnd()
157 span.addAnnotation(Annotation.fromDescription(ANNOTATION_DESCRIPTION)); in toSpanData_ActiveSpan()
179 .isEqualTo(Annotation.fromDescription(ANNOTATION_DESCRIPTION)); in toSpanData_ActiveSpan()
216 span.addAnnotation(Annotation.fromDescription(ANNOTATION_DESCRIPTION)); in toSpanData_EndedSpan()
240 .isEqualTo(Annotation.fromDescription(ANNOTATION_DESCRIPTION)); in toSpanData_EndedSpan()
424 Annotation annotation = Annotation.fromDescription(ANNOTATION_DESCRIPTION); in droppingAnnotations()
DNoRecordEventsSpanImplTest.java82 noRecordEventsSpan.addAnnotation(Annotation.fromDescription("MyAnnotation")); in doNotCrash()
/external/opencensus-java/api/src/test/java/io/opencensus/trace/export/
DSpanDataTest.java60 private static final Annotation annotation = Annotation.fromDescription(ANNOTATION_TEXT);
/external/opencensus-java/exporters/trace/ocagent/src/test/java/io/opencensus/exporter/trace/ocagent/
DTraceProtoUtilsTest.java96 private static final Annotation annotation = Annotation.fromDescription(ANNOTATION_TEXT);
/external/opencensus-java/exporters/trace/stackdriver/src/test/java/io/opencensus/exporter/trace/stackdriver/
DStackdriverV2ExporterHandlerProtoTest.java95 private static final Annotation annotation = Annotation.fromDescription(ANNOTATION_TEXT);