From 8510886b49af15c96eaf80dad87b51e8d2828427 Mon Sep 17 00:00:00 2001 From: kpritam Date: Mon, 7 Oct 2019 22:04:12 +0530 Subject: [PATCH] #ESW-239: Fix test --- src/sbt-test/sbt-docs/site/api/src/main/java/IApi.java | 3 --- src/sbt-test/sbt-docs/site/api/src/main/scala/Api.scala | 3 --- src/sbt-test/sbt-docs/site/test | 4 ++-- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/sbt-test/sbt-docs/site/api/src/main/java/IApi.java b/src/sbt-test/sbt-docs/site/api/src/main/java/IApi.java index eefdb8a..1b5589f 100644 --- a/src/sbt-test/sbt-docs/site/api/src/main/java/IApi.java +++ b/src/sbt-test/sbt-docs/site/api/src/main/java/IApi.java @@ -1,7 +1,4 @@ -/** - * Demo java API - */ public interface IApi { /** * Reads data from file in string diff --git a/src/sbt-test/sbt-docs/site/api/src/main/scala/Api.scala b/src/sbt-test/sbt-docs/site/api/src/main/scala/Api.scala index 599c649..d35ff66 100644 --- a/src/sbt-test/sbt-docs/site/api/src/main/scala/Api.scala +++ b/src/sbt-test/sbt-docs/site/api/src/main/scala/Api.scala @@ -1,6 +1,3 @@ -/** - * Demo scala API - */ trait Api { /** diff --git a/src/sbt-test/sbt-docs/site/test b/src/sbt-test/sbt-docs/site/test index e160ae6..bee9215 100644 --- a/src/sbt-test/sbt-docs/site/test +++ b/src/sbt-test/sbt-docs/site/test @@ -46,8 +46,8 @@ $ must-mirror target/site/sbt-docs/1.0.0/css/page.css expected/css/page.css $ must-mirror target/site/sbt-docs/1.0.0/images/a.png expected/images/a.png # scaladoc and javadoc -$ exists target/site/sbt-docs/0.1-SNAPSHOT/api/scala/Api.html -$ exists target/site/sbt-docs/0.1-SNAPSHOT/api/java/IApi.html +$ exists target/site/sbt-docs/1.0.0/api/scala/Api.html +$ exists target/site/sbt-docs/1.0.0/api/java/IApi.html # Verify files get generated at top level folder $ must-mirror target/site/sbt-docs/a.html expected/a.html