Sha256: 7b1cff204503a4ac21d39e5ab7d2ab13ea2dc65ae1d8f090c47bef5873b6acd8
Contents?: true
Size: 1.4 KB
Versions: 1
Compression:
Stored size: 1.4 KB
Contents
# ********** Copyright Viacom, Inc. Apache 2.0 ********** require_relative "test_helper.rb" module RokuBuilder class ProfilerIntergrationTest < Minitest::Test include Helpers def setup @config = build_config(ProfilerIntergrationTest) @uuid = SecureRandom.uuid build_uuid_script end def teardown FileUtils.rm(@config) if File.exist?(@config) cleanup_uuid_script end def test_profile_stats `#{roku} --sideload --working` assert_log @uuid output = `#{roku} --profile stats` assert_match(/Name \| Count/, output) assert_match(/Total \|\s*5/, output) assert_match(/Default \|\s*1/, output) assert_match(/RectangleExample \|\s*1/, output) assert_match(/Poster \|\s*1/, output) assert_match(/Node \|\s*1/, output) assert_match(/Rectangle \|\s*1/, output) end def test_profile_all `#{roku} --sideload --working` assert_log @uuid output = `#{roku} --profile all` assert_match(/RectangleExample/, output) end def test_profile_images `#{roku} --sideload --working` assert_log @uuid output = `#{roku} --profile images` assert_match(/Available memory/, output) end def test_profile_textures `#{roku} --sideload --working` assert_log @uuid output = `#{roku} --profile textures` assert_match(/System textures/, output) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
roku_builder-4.1.0 | intergration/roku_builder/test_profiler.rb |