From b10a745c7f0f46f4f014e1ba7fa71172d7442b83 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 8 Jul 2017 03:03:55 -0400 Subject: Dev-1.1.7 (#39) - feature overload + context menu * Address some crashlytics issues * Add text scaling * Kau fixes and cleanup * WIP formatter * Create in house url formatter * Update context menu * Update themes * Test proguard without R * Implement sharing and clean up context menu * Disable viewpager swipe on long press * Test keeping lib strings * Update changelog and proguard --- .../kotlin/com/pitchedapps/frost/utils/UrlTest.kt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 app/src/test/kotlin/com/pitchedapps/frost/utils/UrlTest.kt (limited to 'app/src/test/kotlin/com/pitchedapps/frost/utils') diff --git a/app/src/test/kotlin/com/pitchedapps/frost/utils/UrlTest.kt b/app/src/test/kotlin/com/pitchedapps/frost/utils/UrlTest.kt new file mode 100644 index 00000000..3590e625 --- /dev/null +++ b/app/src/test/kotlin/com/pitchedapps/frost/utils/UrlTest.kt @@ -0,0 +1,22 @@ +package com.pitchedapps.frost.utils + +import com.pitchedapps.frost.facebook.FbUrlFormatter +import org.junit.Test + + +/** + * Created by Allan Wang on 2017-07-07. + */ +class UrlTest { + + @Test + fun testParse() { + val url = FbUrlFormatter(TEST_URL) + url.log() + println(url.toString()) + } + + private fun FbUrlFormatter.log() = toLogList().forEach { println(it) } +} + +const val TEST_URL = "https://touch.facebook.com/ScienceOrientationWeek/?refid=52&_ft_=qid.6440135786032091148%3Amf_story_key.3325631938086219467%3Atop_level_post_id.1555752904487229%3Apage_id.525538540842009&__tn__=C" \ No newline at end of file -- cgit v1.2.3