proto_size_in_bytes = 0
exp_proto = exploration_pb2.Exploration()
exp_proto.id = exploration_id
exp_proto.version = exploration.version
exp_proto.init_state_name = init_state_name
exp_proto.title = title
print(exp_proto)
print(exp_proto.ByteSize())
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
----- python3 -m scripts.linters.pre_commit_linter ----------------- | |
Traceback (most recent call last): | |
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/runpy.py", line 193, in _run_module_as_main | |
return _run_code(code, main_globals, None, | |
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/runpy.py", line 86, in _run_code | |
exec(code, run_globals) | |
File "/opensource/oppia/scripts/linters/pre_commit_linter.py", line 67, in <module> | |
import python_utils | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/python_utils.py", line 39, in <module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO: Analyzed target //:oppia (0 packages loaded, 0 targets configured). | |
INFO: Found 1 target... | |
INFO: From Linking external/com_google_protobuf/libprotobuf_lite.a: | |
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-opt-exec-2B5CBBC6/bin/external/com_google_protobuf/_objs/protobuf_lite/io_win32.o has no symbols | |
INFO: From Merging compiled Android resources for //app:view_models_base: | |
Jul 31, 2021 1:02:59 AM com.google.devtools.build.android.AndroidDataMerger doMerge | |
WARNING: | |
CONFLICT: color/mtrl_textinput_default_box_stroke_color is provided with ambiguous priority from: | |
bazel-out/android-armeabi-v7a-fastbuild/bin/external/maven/_aar/unzipped/resources/com_google_android_material_material/res/values/values.xml (with value #6B000000) | |
app/src/main/res/values/colors.xml (with value #FF666666) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title":"The Solar System", | |
"author_notes":"", | |
"param_specs":{ | |
}, | |
"proto_size_in_bytes":null, | |
"states_schema_version":45, | |
"tags":[ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
09 06 2021 09:12:16.194:WARN [web-server]: 404: /base/assets/images/splash/dsk_community_background.png | |
09 06 2021 09:12:16.195:WARN [web-server]: 404: /base/assets/images/splash/dsk_testimonial_background.png | |
09 06 2021 09:12:16.269:WARN [web-server]: 404: /base/assets/images/splash/dsk_testimonial_background.png | |
09 06 2021 09:12:16.271:WARN [web-server]: 404: /base/assets/images/splash/dsk_community_background.png | |
09 06 2021 09:12:16.311:WARN [web-server]: 404: /base/assets/images/splash/dsk_testimonial_background.png | |
09 06 2021 09:12:16.313:WARN [web-server]: 404: /base/assets/images/splash/dsk_community_background.png | |
09 06 2021 09:12:16.387:WARN [web-server]: 404: /base/assets/images/splash/dsk_testimonial_background.png | |
09 06 2021 09:12:16.389:WARN [web-server]: 404: /base/assets/images/splash/dsk_community_background.png | |
09 06 2021 09:12:16.435:WARN [web-server]: 404: /base/assets/images/splash/dsk_testimonial_background.png | |
09 06 2021 09:12:16.437:WARN [web-server]: 404: /base/assets/images/splash/dsk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<vector android:height="80dp" android:viewportHeight="73" | |
android:viewportWidth="73" android:width="80dp" xmlns:android="http://schemas.android.com/apk/res/android"> | |
<path android:fillAlpha="0.4" android:fillColor="#FFFFFF" | |
android:fillType="nonZero" | |
android:pathData="M36.5,36.5m-36.5,0a36.5,36.5 0,1 1,73 0a36.5,36.5 0,1 1,-73 0" | |
android:strokeAlpha="0.4" android:strokeColor="#00000000" android:strokeWidth="1"/> | |
<path android:fillAlpha="0.4" android:fillColor="#00000000" | |
android:fillType="evenOdd" | |
android:pathData="M36.5,36.5m-35.9931,0a35.9931,35.9931 0,1 1,71.9861 0a35.9931,35.9931 0,1 1,-71.9861 0" | |
android:strokeAlpha="0.4" android:strokeColor="#707070" android:strokeWidth="1"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private val profileDataProvider: DataProvider<Profile> by lazy { | |
profileManagementController.getProfile( | |
ProfileId.newBuilder().setInternalId(internalProfileId).build() | |
) | |
} | |
private val deviceSettingsDataProvider: DataProvider<DeviceSettings> by lazy { | |
profileManagementController.getDeviceSettings() | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
****** Espresso Passing ****** | |
@get:Rule | |
val activityTestRule: ActivityTestRule<ExplorationActivity> = ActivityTestRule( | |
ExplorationActivity::class.java, /* initialTouchMode= */ true, /* launchActivity= */ false | |
) | |
@Test | |
fun testAudioWithWifi_openRatioExploration_continueToInteraction_clickAudioButton_submitAnswer_checkFeedbackAudioPlays() { | |
getApplicationDependencies(RATIOS_EXPLORATION_ID_0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
fun `food is pizza and have 4 slices`() { | |
val underTest = generateTalkback() | |
assertThat(underTest).hasTalkBackLabel(context.getString(R.string.faq_activity_label)) | |
} | |
private fun generateTalkback(): Talkback { | |
return Talkback.TalkbackLable(context.getString(R.string.faq_activity_label)) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.oppia.android.app.testing | |
import android.app.Application | |
import android.content.res.Configuration | |
import android.view.View | |
import androidx.appcompat.app.AppCompatActivity | |
import androidx.test.core.app.ActivityScenario | |
import androidx.test.core.app.ApplicationProvider | |
import androidx.test.espresso.Espresso.closeSoftKeyboard | |
import androidx.test.espresso.Espresso.onView |