Skip to content

Commit b3192ff

Browse files
committed
update version to 3.5.0
1 parent 5a45e20 commit b3192ff

File tree

5 files changed

+40
-10
lines changed

5 files changed

+40
-10
lines changed

library/pom.xml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.github.espiandev</groupId>
77
<artifactId>showcaseview-parent</artifactId>
8-
<version>3.2.0</version>
8+
<version>3.5.0</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111

@@ -34,6 +34,21 @@
3434
<artifactId>annotations</artifactId>
3535
<version>4.1.1.4</version>
3636
</dependency>
37+
38+
<!-- Make sure this is below the android dependencies -->
39+
<dependency>
40+
<groupId>org.robolectric</groupId>
41+
<artifactId>robolectric</artifactId>
42+
<version>2.1.1</version>
43+
<scope>test</scope>
44+
</dependency>
45+
46+
<dependency>
47+
<groupId>junit</groupId>
48+
<artifactId>junit</artifactId>
49+
<version>4.8.2</version>
50+
<scope>test</scope>
51+
</dependency>
3752
</dependencies>
3853

3954
<build>

library/src/com/github/espiandev/showcaseview/ShowcaseView.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,11 @@ public class ShowcaseView extends RelativeLayout implements View.OnClickListener
8686
private Bitmap mBleachedCling;
8787
private int mShowcaseColor;
8888

89-
public ShowcaseView(Context context) {
89+
protected ShowcaseView(Context context) {
9090
this(context, null, R.styleable.CustomTheme_showcaseViewStyle);
9191
}
9292

93-
public ShowcaseView(Context context, AttributeSet attrs) {
94-
this(context, attrs, R.styleable.CustomTheme_showcaseViewStyle);
95-
}
96-
97-
public ShowcaseView(Context context, AttributeSet attrs, int defStyle) {
93+
protected ShowcaseView(Context context, AttributeSet attrs, int defStyle) {
9894
super(context, attrs, defStyle);
9995

10096
// Get the attributes for the ShowcaseView
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
package com.github.espiandev.showcaseview;
2+
3+
import org.junit.Before;
4+
import org.junit.runner.RunWith;
5+
import org.robolectric.RobolectricTestRunner;
6+
7+
@RunWith(RobolectricTestRunner.class)
8+
public class ShowcaseViewTests {
9+
10+
@Before
11+
public void setup() {
12+
13+
}
14+
15+
public void testSetOnShowcaseViewListenerIsSet() {
16+
17+
}
18+
19+
}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<groupId>com.github.espiandev</groupId>
1111
<artifactId>showcaseview-parent</artifactId>
1212
<packaging>pom</packaging>
13-
<version>3.2.0</version>
13+
<version>3.5.0</version>
1414

1515
<name>ShowcaseView (parent)</name>
1616
<description>Android library for implementing Holo-style highlighting of important UI areas.</description>

sample/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.github.espiandev</groupId>
77
<artifactId>showcaseview-parent</artifactId>
8-
<version>3.2.0</version>
8+
<version>3.5.0</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111

@@ -29,7 +29,7 @@
2929
<dependency>
3030
<groupId>com.github.espiandev</groupId>
3131
<artifactId>showcaseview-library</artifactId>
32-
<version>${project.version}</version>
32+
<version>3.5.0</version>
3333
<type>apklib</type>
3434
</dependency>
3535
</dependencies>

0 commit comments

Comments
 (0)